
a = ['rwqerwq','ewrwetrwet','etwewt','wetetrt']
a.sort(key=len)
print(a,key=int)
print(sorted(a))



l = [3,5,2,'5','9',1,'4']
l.sort(key=int)
print(l)
print(sorted(l,key=int))
